home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / 115_01.zip / EDSUM.DOC < prev    next >
Text File  |  1993-06-01  |  6KB  |  287 lines

  1. .cm screen editor:  command summary
  2. .cm source:  edsum.doc
  3. .he 'edsum.doc''September 6, 1981'
  4. .fo ''-#-''
  5.  
  6. .ul
  7. special characters
  8.  
  9.    All special characters may be used in edit and insert
  10. modes, but only
  11. the command, edit, insert, undo and delete character keys
  12. may be used in command mode.
  13. The function of each special character is given below:
  14.  
  15. .in 10
  16. .ti 0
  17. up key: (default is line feed)
  18.  
  19. Move the cursor up one line unless the
  20. cursor is already at the top line of the file.
  21. Enter edit mode.
  22.  
  23. .ti 0
  24. down key: (default is carriage return)
  25.  
  26. Move the cursor down one line unless the
  27. cursor is already at the bottom line of the file.
  28. Enter edit mode.
  29.  
  30. .ti 0
  31. right key: (default is control-r)
  32.  
  33. Move the cursor right one character.
  34.  
  35. .ti 0
  36. left key: (default is back space)
  37.  
  38. Move the cursor left one character.
  39.  
  40. .ti 0
  41. insert up key: (default is control-u)
  42.  
  43. Insert a new line above the current line and enter
  44. insert mode.
  45.  
  46. .ti 0
  47. insert down key: (default is control-d)
  48.  
  49. Insert a new line below the current line and enter
  50. insert mode.
  51.  
  52. .ti 0
  53. delete character key: (default is del)
  54.  
  55. Delete the character to the left of the cursor.
  56.  
  57. .ti 0
  58. delete line key: (default is control-z)
  59.  
  60. Delete the line on which the cursor rests.
  61.  
  62. .ti 0
  63. insert key: (default is control-n)
  64.  
  65. Enter insert mode.
  66.  
  67. .ti 0
  68. command key: (default is escape)
  69.  
  70. Enter command mode.
  71.  
  72. .ti 0
  73. edit key: (default is control-e)
  74.  
  75. Enter edit mode.
  76.  
  77. .ti 0
  78. Undo key: (default is control-x)
  79.  
  80. Undo any editing done since the cursor last came to 
  81. the current line.
  82.  
  83. .ti 0
  84. Split key:  (default is control-s)
  85.  
  86. Split the current line into two lines.
  87.  
  88. .ti 0
  89. Join key:  (default is control-p)
  90.  
  91. Append the current line to the line above it.
  92. Then delete the lower line.
  93.  
  94. .in 0
  95. .ul
  96. edit mode
  97.  
  98.    The following are the edit mode commands:
  99.  
  100. .in 10
  101. .ti 0
  102. <space>
  103.  
  104. Move the cursor right one character.
  105.  
  106. .ti 0
  107. b  (beginning)
  108.  
  109. Move the cursor to the beginning of the current line.
  110.  
  111. .ti 0
  112. c  (command)
  113.  
  114. Enter command mode.
  115.  
  116. .ti 0
  117. d  (scroll down)
  118.  
  119. Scroll the cursor down rapidly.  Hit any key to stop scrolling.
  120.  
  121. .ti 0
  122. e  (end)
  123.  
  124. Move the cursor to the end of the line.
  125.  
  126. .ti 0
  127. g <line #>  (go to line)
  128.  
  129. Move the cursor to the start of the indicated line.
  130.  
  131. .ti 0
  132. i  (insert)
  133.  
  134. Enter insert mode.
  135.  
  136. .ti 0
  137. k <char>  (kill up to <char>)
  138.  
  139. Delete from the cursor up to, but not including <char>.
  140. Delete to the end of the line if <char> does not
  141. appear to the right of the cursor.
  142. Do not delete anything if <char> is a special
  143. character.
  144.  
  145. .ti 0
  146. s <char>  (search for <char>)
  147.  
  148. Move cursor to the next occurence of <char> to the 
  149. right of the cursor.
  150. Move cursor to the end of the current line if
  151. <char> does not appear to the right of the cursor.
  152.  
  153. .ti 0
  154. u  (scroll up)
  155.  
  156. Scroll the cursor up rapidly.  Hit any key to stop.
  157.  
  158. .ti 0
  159. x <char>  (eXchange one character)
  160.  
  161. If <char> is not a special character then <char>
  162. replaces the character under the cursor.
  163.  
  164. .ti 0
  165. anything else (ignored)
  166.  
  167. If <char> is neither a special character nor an edit mode
  168. mode command it is completely ignored.
  169.  
  170. .in 0
  171. .ul
  172. insert mode
  173.  
  174.    Use insert mode to enter multiple lines of text into
  175. the buffer.
  176. All characters which are not special characters are simply
  177. inserted into the buffer.
  178.  
  179. .ul
  180. command mode
  181.  
  182.    Use command mode to load or save files or to do things
  183. which might cause drastic changes to the edit buffer.
  184. Here is a list of the command mode commands and what they do:
  185.  
  186. .in 10
  187. .ti 0
  188. append <filename>
  189.  
  190. Append the file <filename> to  the main
  191. buffer at the current cursor postion.
  192.  
  193. .ti 0
  194. change <line range>
  195.  
  196. Change the first instance of <search mask> on each line
  197. in the line range to
  198. <change mask>.
  199.  
  200. Question marks match any character in <search mask>.
  201. Question marks in <change mask> match the character that
  202. the corresponding question mark matched in <search mask>.
  203.  
  204. A leading up arrow (^) anchors the search mask to the
  205. start of the line.
  206.  
  207. .ti 0
  208. clear
  209.  
  210. Erase the entire buffer.
  211.  
  212. .ti 0
  213. delete <line range>
  214.  
  215. Delete all lines with numbers in <line range>.
  216.  
  217. .ti 0
  218. dos
  219.  
  220. Return to the operating system (exit from the editor).
  221.  
  222. .ti 0
  223. find
  224.  
  225. Search for the next occurance of <search mask>.
  226. Enter edit mode if <search mask> is found.
  227. Otherwise, stay in command mode.
  228. The '?' and '^' characters are treated just as in the
  229. change command.
  230.  
  231. .ti 0
  232. g <n>
  233.  
  234. Enter edit mode and set the cursor on line <n>.
  235. If you do not type <n>, the current line is used for <n>.
  236.  
  237. .ti 0
  238. list <line range>
  239.  
  240. List all lines with numbers in <line range> on the
  241. list device (printer).
  242.  
  243. .ti 0
  244. load <filename>
  245.  
  246. Erase the buffer, then load it with the file named
  247. by <filename>.
  248. <filename> becomes the current file name
  249. which is used by the save and resave commands.
  250.  
  251. .ti 0
  252. name <filename>
  253.  
  254. Make <filename> the current file name
  255. for use by the save and resave commands.
  256.  
  257. .ti 0
  258. resave
  259.  
  260. Save the buffer in the file named
  261. in the load or name commands.
  262. The file must already exist.
  263.  
  264. .ti 0
  265. save
  266.  
  267. Save the buffer in the file named
  268. in tahe load or name commands.
  269. The file must
  270. .ul
  271. not
  272. already exist.
  273.  
  274. .ti 0
  275. search <line range>
  276.  
  277. Print all lines on the display which contain an instance
  278. of <search mask>.
  279. The '?' and '^' characters are treated just as in the
  280. change command.
  281.  
  282. .ti 0
  283. tabs <number>
  284.  
  285. Cause tabs to be printed as <number> blanks on the screen
  286. and on the list device.
  287.